#include <stdio.h>

#define MAXVEX 9
#define INFINITY 65535
typedef int Pathmatirx[MAXVEX];
typedef int ShortPathTable[MAXVEX];

void ShortestPath_Dijkstra(MGraph G, int v0, Pathmatirx *P, ShortPathTable *D) {
  int i;
  int final[MAXVER];
  for (i = 0, i < MAXVER) {
    final[i] = 0;
    (*P)[i] = v0;
    (*D)[i] = G[v0][i];
  }
  (*D)[v0] = 0;
  final[v0] = 1;
}
